package org.jeecg.modules.door.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 分组密码管理
 * @Author: jeecg-boot
 * @Date:   2023-08-14
 * @Version: V1.0
 */
@ApiModel(value="lwgy_door_groupright对象", description="分组管理")
@Data
@TableName("lwgy_door_grouppassword")
public class LwgyDoorGrouppassword implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
	@ApiModelProperty(value = "主键")
	private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private String sysOrgCode;
	/**分组id*/
	@Excel(name = "分组id", width = 15)
	@ApiModelProperty(value = "分组id")
	private String groupId;
	/**密码*/
	@Excel(name = "密码", width = 15)
	@ApiModelProperty(value = "密码")
	private String password;
	/**盐值*/
	/*@Excel(name = "盐值", width = 15)*/
	@ApiModelProperty(value = "盐值")
	private String salt;
	/**类型*/
	@Excel(name = "类型", width = 15, dicCode = "door_password_type")
	@ApiModelProperty(value = "类型")
	private String passwordType;
	/**有效期*/
	@Excel(name = "有效期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "有效期")
	private Date useTime;
	/**是否同步*/

	@ApiModelProperty(value = "是否同步")
	@Dict(dicCode = "activiti_sync")
	private String sysn;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "status")
	@ApiModelProperty(value = "状态")
	@Dict(dicCode = "status")
	private String status;
}
